const moment = require('moment')

module.exports = {
    formatTime: (time, format="YYYY-MM-DD HH:mm:ss") => moment(time).format(format)
};